<%@ page import = "java.util.ArrayList" %>
<%@ page import = "com.mbbmap.util.Constants" %>
<%@ page import = "com.mbbmap.security.dao.*" %>

<%

ArrayList secGroupAccessList = (ArrayList) session.getAttribute(Constants.LOGON_ACCESS_LIST);
SecUserDao oSecUserDao = (SecUserDao) session.getAttribute(Constants.LOGGED_USER);


String sUserName = oSecUserDao.getUserName();
String lastLogonDateTime = (String) session.getAttribute(Constants.LAST_LOGON_DATETIME);

String selected = "home";
int iManualCP = 0;	//MAN000
int iSecMan = 0;	//SEC000
int iFAQ = 0;		//FAQ000
int iExempt = 0;	//EXE000
int iChangePW = 0;	//CPW000
int iRefMan = 0;	//RFM000
int iUserGuid = 0;	//USG000
int iTech = 0;		//TEC000
int iApp0 = 0; //APP000
int iApp1 = 0; //APP001
int iApp2 = 0; //APP002

for(int i=0;i<secGroupAccessList.size();i++){
	SecAccessDao secaccessDao = (SecAccessDao)secGroupAccessList.get(i);
	String strModuleCode  = secaccessDao.getModuleCode();
	if(strModuleCode.equals("MAN000"))
		iManualCP = 1;
	if(strModuleCode.equals("SEC000"))
		iSecMan = 1;
	if(strModuleCode.equals("FAQ000"))
		iFAQ = 1;
	if(strModuleCode.equals("EXE000"))
		iExempt = 1;
	if(strModuleCode.equals("CPW000"))
		iChangePW = 1;
	if(strModuleCode.equals("RFM000"))
		iRefMan = 1;
	if(strModuleCode.equals("USG000"))
		iUserGuid = 1;
	if(strModuleCode.equals("TEC000"))
		iTech = 1;
	if(strModuleCode.equals("APP000"))
		iApp0 = 1;
	if(strModuleCode.equals("APP001"))
		iApp1 = 1;
	if(strModuleCode.equals("APP002"))
		iApp2 = 1;
}
%>

<link href="resource/style.css" rel="stylesheet" type="text/css">
	
	<script type="text/javascript">
	    window.history.forward();
	    function noBack() { window.history.forward(); }
	</script>
<style type="text/css"></style></head>

<body class="home" onload="noBack();" onpageshow="if (event.persisted) noBack();" onunload="">
	<a name="top"></a>
	
<!-- Header -->
<%@ include file="/jsp/common/Header.jsp" %>	
<!-- End Header -->


	<div id="bgWrapper">
		<div id="container">

			<div id="titleBar">
				<ul class="topBar">
					<li class="goBackBt"><a href="<%=request.getContextPath()%>/CheckUserLogon.do?dispatch=homePage"></a></li>
					<li>
					  <h1 style="font-size:xx-large;" >User Guide</h1></li>
				</ul>
			</div>

			<div id="fullcontent">
			
<!-- Root Navigation -->		
<%@ include file="/jsp/common/RootNavigation.jsp" %>	
<!-- Root SecurityNavigation -->

			<div id="contentRightIn">
				
		
	<table align="center" class="tbldetails" width=100% border="0" rules="cols">
										<thead>
											<tr>
												<th colspan="4">
													<h4>User Guides</h4>
												</th>
											</tr>
										</thead>
								
				<tr class="headerD" style="border: thin solid">
											<td width="50%" class="center_note">Description</td>
											<td width="40%" class="center_note">Updated Date</td>
											<td width="10%" class="center_note">Download</td>
				</tr>
				<tr class="headerD" style="border: thin solid">
				<td class="center_note">User Guide version 1</td> 
				<td>3/3/2014</td>
				<td><a href="resource/guide.pptx">DOWNLOAD</a></td>
				</tr>
				</table>
				
			</div>

<!-- Footer -->
<%@ include file="/jsp/common/Footer.jsp" %>	
<!-- End Footer -->
		</div>
	</div>
